package com.hunliji.monitor.service.api.model.param;

import lombok.Data;

/**
 * 查询通知行动策略
 * @author wuchen
 */
@Data
public class QueryInformActionStrategyParam {
    /**
     * 绑定记录的id
     */
    private Long alertChatBindId;
    /**
     * 行动策略key
     */
    private String actionStrategyKey;
    /**
     * 严重程度
     */
    private Integer severity;

    public static QueryInformActionStrategyParam build(Long alertChatBindId,String actionStrategyKey,Integer severity){
        QueryInformActionStrategyParam queryInformActionStrategyParam = new QueryInformActionStrategyParam();
        queryInformActionStrategyParam.setAlertChatBindId(alertChatBindId);
        queryInformActionStrategyParam.setActionStrategyKey(actionStrategyKey);
        queryInformActionStrategyParam.setSeverity(severity);
        return queryInformActionStrategyParam;
    }
}
